<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>Bootstrap Admin Theme</title>
  <!-- Bootstrap Styles-->
    <link href="__PUBLIC__static/admin/assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FontAwesome Styles-->
    <link href="__PUBLIC__static/admin/assets/css/font-awesome.css" rel="stylesheet" />
  
    <link href="__PUBLIC__static/admin/assets/css/select2.min.css" rel="stylesheet" >
  <link href="__PUBLIC__static/admin/assets/css/checkbox3.min.css" rel="stylesheet" >
        <!-- Custom Styles-->
    <link href="__PUBLIC__static/admin/assets/css/custom-styles.css" rel="stylesheet" />
     <!-- Google Fonts-->

     <style type="text/css">
    h1 { font-size: 20px; margin-bottom:3px; }
    h3 { font-size: 13px; margin-top:0px; }
    .main { text-align: center; }
    .time { display:inline-block; font-size:26px; padding:5px; text-align:center; width:86px; }
  </style>
   <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
</head>
<body>
    <div id="wrapper">
        {include file="layout/top" / }
        <!--/. NAV TOP  -->
      {include file="layout/left" / }
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper" >
     <div class="col-md-12">
     
      </div>

    <form class="form-horizontal row-fluid"  enctype="multipart/form-data" method ='post'action ="{:url('admin/comment/do_reply')}">
            <div id="page-inner"> 
                       <div class="row">
                        <div class="col-xs-12">
                            <div class="panel panel-default">

                              <input type="hidden" name="id" value="{$data['cid']}">
                                <div class="panel-body">
                                    
                                     <div class="sub-title"><span style="font-size:20px">评论内容：</span></div>
                                    <div>
                                        <textarea id="t1" class="form-control"  name="" style="width:60%" rows="3"></textarea>
                                    </div>

                                    <div class="sub-title"><span style="font-size:20px">回复：</span></div>
                                    <div>
                                        <textarea class="form-control"  name="comment_reply" style="width:60%" rows="3"></textarea>
                                    </div>
                                      
                                     
                                    <br><br>
                                        <div  style="text-align:center">
                                        <button type="submit" class="btn btn-default">发布</button>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
              
                  
                                  
   <script type="text/javascript">

//                                         var map = new BMap.Map("container");          // 创建地图实例
//
//                                         var point = new BMap.Point(116.404, 39.915);  // 创建点坐标
//
//                                         map.centerAndZoom(point, 15);                 // 初始化地图，设置中心点坐标和地图级别
                                        var map = new BMap.Map("container");
                                        map.centerAndZoom("杭州",12);
                                        //单击获取点击的经纬度
                                        map.addEventListener("click",function(e){
                                            var lng=e.point.lng;
                                            var lat=e.point.lat;
                                            $('#business_lng').val(lng);
                                            $('#business_lat').val(lat);
                                        });
                                        </script>
           
    <!-- jQuery Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery-1.10.2.js"></script>
      <!-- Bootstrap Js -->
    <script src="__PUBLIC__static/admin/assets/js/bootstrap.min.js"></script>
    <!-- Metis Menu Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery.metisMenu.js"></script>
  <script src="__PUBLIC__static/admin/assets/js/select2.full.min.js"></script>
  <script>document.getElementById("t1").value="{$data['comment']}"</script>
  <script type="text/javascript">
  $(document).ready(function() {
    $(".selectbox").select2();
  });
  </script>
      <!-- Custom Js -->
    <script src="__PUBLIC__static/admin/assets/js/custom-scripts.js"></script> 
  
    
   
</body>
</html>
